﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001199 RID: 4505
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetStuffToAreaScRsp : IMessage<SetStuffToAreaScRsp>, IMessage, IEquatable<SetStuffToAreaScRsp>, IDeepCloneable<SetStuffToAreaScRsp>, IBufferMessage
	{
		// Token: 0x170038FD RID: 14589
		// (get) Token: 0x0600C9A2 RID: 51618 RVA: 0x0021F647 File Offset: 0x0021D847
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetStuffToAreaScRsp> Parser
		{
			get
			{
				return SetStuffToAreaScRsp._parser;
			}
		}

		// Token: 0x170038FE RID: 14590
		// (get) Token: 0x0600C9A3 RID: 51619 RVA: 0x0021F64E File Offset: 0x0021D84E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetStuffToAreaScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038FF RID: 14591
		// (get) Token: 0x0600C9A4 RID: 51620 RVA: 0x0021F660 File Offset: 0x0021D860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetStuffToAreaScRsp.Descriptor;
			}
		}

		// Token: 0x0600C9A5 RID: 51621 RVA: 0x0021F667 File Offset: 0x0021D867
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetStuffToAreaScRsp()
		{
		}

		// Token: 0x0600C9A6 RID: 51622 RVA: 0x0021F670 File Offset: 0x0021D870
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetStuffToAreaScRsp(SetStuffToAreaScRsp other) : this()
		{
			this.bIIHOBMMFDP_ = other.bIIHOBMMFDP_;
			this.retcode_ = other.retcode_;
			this.lGBDDMADNBE_ = other.lGBDDMADNBE_;
			this.pos_ = other.pos_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C9A7 RID: 51623 RVA: 0x0021F6C4 File Offset: 0x0021D8C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetStuffToAreaScRsp Clone()
		{
			return new SetStuffToAreaScRsp(this);
		}

		// Token: 0x17003900 RID: 14592
		// (get) Token: 0x0600C9A8 RID: 51624 RVA: 0x0021F6CC File Offset: 0x0021D8CC
		// (set) Token: 0x0600C9A9 RID: 51625 RVA: 0x0021F6D4 File Offset: 0x0021D8D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BIIHOBMMFDP
		{
			get
			{
				return this.bIIHOBMMFDP_;
			}
			set
			{
				this.bIIHOBMMFDP_ = value;
			}
		}

		// Token: 0x17003901 RID: 14593
		// (get) Token: 0x0600C9AA RID: 51626 RVA: 0x0021F6DD File Offset: 0x0021D8DD
		// (set) Token: 0x0600C9AB RID: 51627 RVA: 0x0021F6E5 File Offset: 0x0021D8E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003902 RID: 14594
		// (get) Token: 0x0600C9AC RID: 51628 RVA: 0x0021F6EE File Offset: 0x0021D8EE
		// (set) Token: 0x0600C9AD RID: 51629 RVA: 0x0021F6F6 File Offset: 0x0021D8F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LGBDDMADNBE
		{
			get
			{
				return this.lGBDDMADNBE_;
			}
			set
			{
				this.lGBDDMADNBE_ = value;
			}
		}

		// Token: 0x17003903 RID: 14595
		// (get) Token: 0x0600C9AE RID: 51630 RVA: 0x0021F6FF File Offset: 0x0021D8FF
		// (set) Token: 0x0600C9AF RID: 51631 RVA: 0x0021F707 File Offset: 0x0021D907
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PEFBCGPHGBG Pos
		{
			get
			{
				return this.pos_;
			}
			set
			{
				this.pos_ = value;
			}
		}

		// Token: 0x0600C9B0 RID: 51632 RVA: 0x0021F710 File Offset: 0x0021D910
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetStuffToAreaScRsp);
		}

		// Token: 0x0600C9B1 RID: 51633 RVA: 0x0021F720 File Offset: 0x0021D920
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetStuffToAreaScRsp other)
		{
			return other != null && (other == this || (this.BIIHOBMMFDP == other.BIIHOBMMFDP && this.Retcode == other.Retcode && this.LGBDDMADNBE == other.LGBDDMADNBE && this.Pos == other.Pos && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C9B2 RID: 51634 RVA: 0x0021F78C File Offset: 0x0021D98C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BIIHOBMMFDP != 0U)
			{
				num ^= this.BIIHOBMMFDP.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.LGBDDMADNBE != 0U)
			{
				num ^= this.LGBDDMADNBE.GetHashCode();
			}
			if (this.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				num ^= this.Pos.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C9B3 RID: 51635 RVA: 0x0021F81C File Offset: 0x0021DA1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C9B4 RID: 51636 RVA: 0x0021F824 File Offset: 0x0021DA24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C9B5 RID: 51637 RVA: 0x0021F830 File Offset: 0x0021DA30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BIIHOBMMFDP != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.BIIHOBMMFDP);
			}
			if (this.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				output.WriteRawTag(48);
				output.WriteEnum((int)this.Pos);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this.LGBDDMADNBE != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.LGBDDMADNBE);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C9B6 RID: 51638 RVA: 0x0021F8C0 File Offset: 0x0021DAC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BIIHOBMMFDP != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BIIHOBMMFDP);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.LGBDDMADNBE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LGBDDMADNBE);
			}
			if (this.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				num += 1 + CodedOutputStream.ComputeEnumSize((int)this.Pos);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C9B7 RID: 51639 RVA: 0x0021F948 File Offset: 0x0021DB48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetStuffToAreaScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BIIHOBMMFDP != 0U)
			{
				this.BIIHOBMMFDP = other.BIIHOBMMFDP;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.LGBDDMADNBE != 0U)
			{
				this.LGBDDMADNBE = other.LGBDDMADNBE;
			}
			if (other.Pos != PEFBCGPHGBG.WorkPosNone)
			{
				this.Pos = other.Pos;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C9B8 RID: 51640 RVA: 0x0021F9C0 File Offset: 0x0021DBC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C9B9 RID: 51641 RVA: 0x0021F9CC File Offset: 0x0021DBCC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 48U)
				{
					if (num == 8U)
					{
						this.BIIHOBMMFDP = input.ReadUInt32();
						continue;
					}
					if (num == 48U)
					{
						this.Pos = (PEFBCGPHGBG)input.ReadEnum();
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 112U)
					{
						this.LGBDDMADNBE = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040050EF RID: 20719
		private static readonly MessageParser<SetStuffToAreaScRsp> _parser = new MessageParser<SetStuffToAreaScRsp>(() => new SetStuffToAreaScRsp());

		// Token: 0x040050F0 RID: 20720
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050F1 RID: 20721
		public const int BIIHOBMMFDPFieldNumber = 1;

		// Token: 0x040050F2 RID: 20722
		private uint bIIHOBMMFDP_;

		// Token: 0x040050F3 RID: 20723
		public const int RetcodeFieldNumber = 12;

		// Token: 0x040050F4 RID: 20724
		private uint retcode_;

		// Token: 0x040050F5 RID: 20725
		public const int LGBDDMADNBEFieldNumber = 14;

		// Token: 0x040050F6 RID: 20726
		private uint lGBDDMADNBE_;

		// Token: 0x040050F7 RID: 20727
		public const int PosFieldNumber = 6;

		// Token: 0x040050F8 RID: 20728
		private PEFBCGPHGBG pos_;
	}
}
